﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;

namespace serial
{
    class ReadFile
    {
        private string path;
        public ReadFile(string path)
        {
            this.path = path;
        }

        public byte[] GetBytes()
        {
            byte[] b = File.ReadAllBytes(path);
            return b;
        }
    }
}
